from math import *

def divs(n) :
	c = 0
	for i in range(2, int(ceil(sqrt(n)))) :
		if n%i == 0 :
                	c += 2
	if sqrt(n)%1 == 0 :
		c -= 1
	return 2+c

tri = 0
max = 0
for i in range(20000) :
    	if i%100 == 0 : print "."
	tri += i
        d = divs(tri)
        if d > max :
		max = d
		print i, tri, d
